﻿namespace GoodAdmin.System;

public class UserSeedData : ISqlSugarEntitySeedData<SysUser>
{
    
    public IEnumerable<SysUser> HasData()
    {
        var password = CryptogramUtil.Sm2Encrypt("123456");
        return new[]
        {
            new SysUser{ Id=110000000000001,Account =RoleConst.SUPERADMIN,Name="超级管理员",Email="2732086168@qq.com",WorkId="G00001", Password=password, SystemMark=CommonConst.SYSTEM,Status=CommonConst.STATUS_ENABLE,Gender="male",OrgId=140000000000001,PosId=140000000000000,Phone="18883157978" },
            new SysUser{ Id=110000000000002,Account ="IT",Name="程序员",Email="2732086168@qq.com",WorkId="G00002", Password=password, Status=CommonConst.STATUS_ENABLE,Gender="male",OrgId=140000000000002,PosId=140000000000002,Phone="18812345678" },
        };
    }
}